﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace OneMake.Model
{
    [PetaPoco.TableName("htjy_d_products")]
    [PetaPoco.PrimaryKey("oid")]
    public class htjy_d_products
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "订单编号")]
        public string order_title { get; set; }

        [MapToExcel(ColumnName = "标题")]
        public string title { get; set; }

        [MapToExcel(ColumnName = "价格")]
        public double price { get; set; }

        [MapToExcel(ColumnName = "购买数量")]
        public int n_prds { get; set; }

        [MapToExcel(ColumnName = "外部系统编号")]
        public string external_sn { get; set; }

        [MapToExcel(ColumnName = "商品属性")]
        public string attribute { get; set; }

        [MapToExcel(ColumnName = "套餐信息")]
        public string info { get; set; }

        [MapToExcel(ColumnName = "备注")]
        public string remark { get; set; }

        [MapToExcel(ColumnName = "订单状态")]
        public string status { get; set; }

        [MapToExcel(ColumnName = "商家编码")]
        public string seller_sn { get; set; }

        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}